<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

    <style>
        body{
            border: 1px solid #000000;
        }
        .box1{
            width: 100px;
            height: 100px;
            background-color: pink;
        }

        .box2{
            height: 50px;
            width: 50px;
            background-color: red;
            float: right;

        }
    </style>
</head>
<body>
    <div class="box1">
    </div>
    <div class="box2"></div>
</body>
</html>
